import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  sum(numArr: number[]): number {
    return numArr.reduce((acc, curr) => acc + curr, 0);
  }
}
